package com.website.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "sys_user")
public class SysUser implements Serializable{

	private static final long serialVersionUID = 7573780530273997122L;

	@TableId
	private Integer id;

	private String name;

	private String password;

	private Date createTime;

	private Date updateTime;

	private Integer roleId;

	private Boolean admin;

	public SysUser() {
	}

	public SysUser(String name) {
		this.name = name;
	}
}
